﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;
using System.Globalization;

namespace Barbar.Colonization.Core {
  [Serializable]
  public class ColonizationException : Exception {
    public ColonizationException() {
    }

    public ColonizationException(string messageFormat, params object[] args) :
      this(String.Format(CultureInfo.InvariantCulture, messageFormat, args)) {
    }

    public ColonizationException(string message)
      : base(message) {
    }

    public ColonizationException(string message, Exception innerException)
      : base(message, innerException) {
    }

    protected ColonizationException(SerializationInfo info, StreamingContext context)
      : base(info, context) {
    }
  }
}
